﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SmartSpace.Data
{
    public interface IMetadataService
    {
        //List<WorkflowMetadata> FindWorkflows(int start, int limit);
        //WorkflowMetadata FindWorkflow(Guid id);

        //bool StoreWorkflow(WorkflowMetadata metadata);

        //bool StoreLayout(WorkflowDiagram layout);
        //WorkflowDiagram FindLayout(Guid id);

        //bool StoreParser(TypeUIParser parser);
        //TypeUIParser FindParser(TypeMetadata type);

        ///// <summary>
        ///// 获取用户可以访问的视图信息
        ///// </summary>
        ///// <param name="activity"></param>
        ///// <param name="user"></param>
        ///// <returns></returns>
        //AuthorizedView FindView(ActivityMetadata activity, User user);
    }
}
